home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / 17 controls / customcontrolstest / gradientform.vb < prev    next >
Encoding:
Text File  |  2002-02-05  |  2.2 KB  |  62 lines

  1. Public Class GradientForm
  2.     Inherits System.Windows.Forms.Form
  3.  
  4. #Region " Windows Form Designer generated code "
  5.  
  6.     Public Sub New()
  7.         MyBase.New()
  8.  
  9.         'This call is required by the Windows Form Designer.
  10.         InitializeComponent()
  11.  
  12.         'Add any initialization after the InitializeComponent() call
  13.  
  14.     End Sub
  15.  
  16.     'Form overrides dispose to clean up the component list.
  17.     Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
  18.         If disposing Then
  19.             If Not (components Is Nothing) Then
  20.                 components.Dispose()
  21.             End If
  22.         End If
  23.         MyBase.Dispose(disposing)
  24.     End Sub
  25.     Friend WithEvents UserPropExtender1 As CustomControlDemo.UserPropExtender
  26.     Friend WithEvents GradientBackgroundEx1 As CustomControlDemo.GradientBackgroundEx
  27.  
  28.     'Required by the Windows Form Designer
  29.     Private components As System.ComponentModel.Container
  30.  
  31.     'NOTE: The following procedure is required by the Windows Form Designer
  32.     'It can be modified using the Windows Form Designer.  
  33.     'Do not modify it using the code editor.
  34.     <System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
  35.         Me.GradientBackgroundEx1 = New CustomControlDemo.GradientBackgroundEx()
  36.         Me.SuspendLayout()
  37.         '
  38.         'GradientBackgroundEx1
  39.         '
  40.         Me.GradientBackgroundEx1.Dock = System.Windows.Forms.DockStyle.Fill
  41.         Me.GradientBackgroundEx1.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.ForwardDiagonal
  42.         Me.GradientBackgroundEx1.Name = "GradientBackgroundEx1"
  43.         Me.GradientBackgroundEx1.RotateAngle = 76.0!
  44.         Me.GradientBackgroundEx1.Size = New System.Drawing.Size(296, 253)
  45.         Me.GradientBackgroundEx1.TabIndex = 0
  46.         Me.GradientBackgroundEx1.Text = "GradientBackgroundEx1"
  47.         '
  48.         'GradientForm
  49.         '
  50.         Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
  51.         Me.ClientSize = New System.Drawing.Size(296, 253)
  52.         Me.Controls.AddRange(New System.Windows.Forms.Control() {Me.GradientBackgroundEx1})
  53.         Me.Name = "GradientForm"
  54.         Me.Text = "GradientForm"
  55.         Me.ResumeLayout(False)
  56.  
  57.     End Sub
  58.  
  59. #End Region
  60.  
  61. End Class
  62.